package br.com.rapidrest.response;

public class RestURL {

	private Class<?> beanClass;

	private Object[] params;

	public RestURL(Class<?> beanClass, Object... params) { 
		super();
		this.beanClass = beanClass;
		this.params = params;
	}

	public Class<?> getBeanClass() {
		return beanClass;
	}

	public void setBeanClass(Class<?> beanClass) {
		this.beanClass = beanClass;
	}

	public Object[] getParams() {
		return params;
	}

	public void setParams(Object... params) {
		this.params = params;
	}

	public static RestURL goTo(Class<?> beanClass, Object... params) {
		return new RestURL(beanClass, params);
	}

}